/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.ap.entity;


import com.fasterxml.jackson.annotation.JsonFormat;
import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;

import java.util.Date;

/**
 * 保单Entity
 * @author 李超辉
 * @version 2018-09-06
 */
public class Policy extends DataEntity<Policy> {
	
	private static final long serialVersionUID = 1L;
	private String name;		// 保单名称
	private String ze;		// 保单总额
	private String sy;		// 剩余金额
	private String bxgs;
	private String lxr;
	private String lxdh;
	private String bxxz;
	private String fl;
	private String bf;
	private String bxdhm;
	private String tbyd;
	private String fph;
	private Date qsrq;
	private Date jzrq;
	private String xm;

	public String getBxgs() {
		return bxgs;
	}

	public void setBxgs(String bxgs) {
		this.bxgs = bxgs;
	}

	public String getLxr() {
		return lxr;
	}

	public void setLxr(String lxr) {
		this.lxr = lxr;
	}

	public String getLxdh() {
		return lxdh;
	}

	public void setLxdh(String lxdh) {
		this.lxdh = lxdh;
	}

	public String getBxxz() {
		return bxxz;
	}

	public void setBxxz(String bxxz) {
		this.bxxz = bxxz;
	}

	public String getFl() {
		return fl;
	}

	public void setFl(String fl) {
		this.fl = fl;
	}

	public String getBf() {
		return bf;
	}

	public void setBf(String bf) {
		this.bf = bf;
	}

	public String getBxdhm() {
		return bxdhm;
	}

	public void setBxdhm(String bxdhm) {
		this.bxdhm = bxdhm;
	}

	public String getTbyd() {
		return tbyd;
	}

	public void setTbyd(String tbyd) {
		this.tbyd = tbyd;
	}

	public String getFph() {
		return fph;
	}

	public void setFph(String fph) {
		this.fph = fph;
	}
	@JsonFormat(pattern = "yyyy-MM-dd")
	public Date getQsrq() {
		return qsrq;
	}

	public void setQsrq(Date qsrq) {
		this.qsrq = qsrq;
	}
	@JsonFormat(pattern = "yyyy-MM-dd")
	public Date getJzrq() {
		return jzrq;
	}

	public void setJzrq(Date jzrq) {
		this.jzrq = jzrq;
	}

	public String getXm() {
		return xm;
	}

	public void setXm(String xm) {
		this.xm = xm;
	}

	public Policy() {
		super();
	}

	public Policy(String id){
		super(id);
	}

	@ExcelField(title="保单名称", align=2, sort=7)
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	@ExcelField(title="保单总额", align=2, sort=8)
	public String getZe() {
		return ze;
	}

	public void setZe(String ze) {
		this.ze = ze;
	}
	
	@ExcelField(title="剩余金额", align=2, sort=9)
	public String getSy() {
		return sy;
	}

	public void setSy(String sy) {
		this.sy = sy;
	}
	
}